#ifndef CONFIG_H
#define CONFIG_H

#include "../include/itconfig.h"

class Config : public ITConfig
{
    Q_OBJECT
public:
    static Config* GetInstance() {static Config __instance; return &__instance;}
public:
    Config();
    virtual ~Config();
    virtual TRESULT Init();
    virtual TRESULT UnInit();
    virtual TRESULT SetFramework(ITFramework* pFrm);

private:
    QString     m_szLog;
    ITFramework *m_pFramework;
    ITLogger    *m_pLogger;
    ITConfig    *m_pConfig;
};

#endif // CONFIG_H
